In-Reply-To: <940214224449.2043c447@iccgcc.cs.hh.ab.com> from "THORNTONJ@iccgcc.cs.hh.ab.com" at Feb 14, 94 10:44:49 pm
Content-Type: text
Content-Length: 283
From: James Mckinney <mckinnej@emh.kadena.af.mil>
To: AmigaE@bkhouse.cts.com
Subject: Editor of choice
> Now a question, not concerning FAE, what editor do those of you
> who write large programs use?
I use Edge from Inovatronics. It's a pretty new editor. I like it a lot.
It uses dictionaries like GoldEd does and does everything I ever wanted an
editor to do.
Later,
Jim
From donews!crash!tso.uc.EDU!usr1400a Thu, 17 Feb 94 08:47:00 PST
Received: by bkhouse.cts.com (V1.17-beta/Amiga)
id <1uv0@bkhouse.cts.com>; Thu, 17 Feb 94 08:47:00 PST
Received: from crash by donews.cts.com with uucp
(Smail3.1.28.1 #18) id m0pWxat-0001ohC; Wed, 16 Feb 94 20:31 EST
Received: from ROLL.SAN.UC.EDU by crash.cts.com with smtp
(Smail3.1.28.1 #18) id m0pWxPD-0000RsC; Wed, 16 Feb 94 17:19 PST
Received: from tso.uc.edu by UCBEH.SAN.UC.EDU (PMDF V4.2-14 #4918) id
<01H8YRF938E89275M4@UCBEH.SAN.UC.EDU>; Wed, 16 Feb 1994 19:52:09 EST
Received: by tso.uc.edu (4.1/SMI-4.1) id AA26291; Wed, 16 Feb 94 19:52:13 EST
Date: Wed, 16 Feb 1994 19:52:13 -0500 (EST)
Message-id: <9402170052.AA26291@tso.uc.edu>
Content-transfer-encoding: 7BIT
From: usr1400a@tso.uc.EDU (Carl Jolley)
To: amigae@bkhouse.cts.COM
Subject: Re: int to string's
> {Is there a E command to convert a number to a ASCII string?
> Also what is the correct way to put an image on a Gadget button?
> and memory for it.
I just want to one of hundreds of E users who are going to answer the
part of your question about "number -> ascii string". Since the first
public release of E, there has been the StringF function. It is related
to the WriteF thusly: instead of a filehandle, the first parameter of
a StringF function is an E string. What it does is that using the second
parameter as a formatting string it then converts the remaining parameters
as specified by the formatting string but instead of then writing the
result to the filehandle parameter as in a WriteF, it just puts the
output string into the E-string parameter that is the first parameter of
the StringF command. Thus to convert a number to a string one could do:
StringF(str,'\d',num)
As I said before, E has the function, but Wouter has not documented it so
that's why you probably don't know about it. I'm not sure if the semantics
of the function have changed since 2.0 but as of that version, StringF was
an arithmetic valued function. The result of the function was the
difference between the maximum length of the string variable and the number
of characters that were output by the function to the E-string parameter OR
to look at it another way, the result is the number of characters that
remain avaiable to be used. Please note that there is no restriction to
the format string and thus the StringF function, in addition to being
used to output a number as an ascii string (I assume you meant as a decimal
number), it could also be used to convert a number to an ascii string that
is the hexidecimal representation [ StringF(str,'\h',num) ] or it could be
used to do other strange things such as concatconate two (or more) strings:
StringF(str_out,'\s\s',str1,str2)
It could also be used as a substitute to the StrCopy function:
StringF(str_out,'string literal')
Maybe the reason Wouter didn't document the StringF function is that it
would take to much space to document all the ways it could be used. (:-D)
Also, with a StringF function, at least two other E functions would not be
needed, i.e. StrAdd and StrCopy.
From donews!crash!suburbia.apana.org.au!trax Thu, 17 Feb 94 08:48:24 PST
Received: by bkhouse.cts.com (V1.17-beta/Amiga)
id <1uwm@bkhouse.cts.com>; Thu, 17 Feb 94 08:48:24 PST
Received: from crash by donews.cts.com with uucp
(Smail3.1.28.1 #18) id m0pX0sv-0001q2C; Thu, 17 Feb 94 00:02 EST
Received: from yarrina.connect.com.au by crash.cts.com with smtp
(Smail3.1.28.1 #18) id m0pX0Xk-0000JCC; Wed, 16 Feb 94 20:40 PST
Received: from werple.apana.org.au by yarrina.connect.com.au with SMTP id AA03192
(5.67b8/IDA-1.5 for <AmigaE@bkhouse.cts.com>); Thu, 17 Feb 1994 14:37:23 +1100
Received: from suburbia.apana.org.au (root@suburbia.apana.org.au [192.188.107.90]) by werple.apana.org.au (8.6.5/8.6.5) with ESMTP id OAA25552 for <AmigaE@bkhouse.cts.com>; Thu, 17 Feb 1994 14:37:14 +1100
Received: from localhost (trax@localhost) by suburbia.apana.org.au (8.6.4/8.6.4) id OAA01168 for AmigaE@bkhouse.cts.com; Thu, 17 Feb 1994 14:38:07 +1100